package com.ziyear.service;

import java.util.List;

import com.ziyear.domain.Admin;

/**
 * 功能描述 : 管理员服务
 *
 * @author Ziyear
 */
public interface AdminService {
	int addAdmin(Admin admin);

	int deleteAdmin(int adminId);

	int updateAdmin(Admin admin);

	List<Admin> getAllAdmin();

	Admin getAdminById(int adminId);

	Admin getAdminByName(String userName);
}
